<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>

        * {
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
        }

        div.simple {
            width: 500px;
            padding: 50px;
            background: red;
            position: relative;
        }

        div.fancy {
            left: 20px;
            top: -20px;
            width: 500px;
            padding: 50px;
            background: green;
            position: relative;
        }

        div.sheep {
            width: 500px;
            padding: 50px;
            background: blue;
            position: relative;
        }

        div.snake {
            width: 100px;
            top: 0px;
            right: 0px;
            background: gold;
            position: absolute;
        }

        div.tiger {
            width: 500px;
            padding: 50px;
            background: red;
            /*position: fixed;*/
            position: absolute;
            right: 0;
            bottom: 0;
        }
    </style>
</head>
<body>
<div class="simple"> simple</div>
<div class="fancy"> fancy</div>
<div class="sheep"> sheep</div>
<div class="snake"> snake</div>
<div class="tiger"> tiger</div>
</body>
</html>